package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpProject extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpProject() {}
	public PmpProject(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	  private java.lang.Long cloudGroupId;
	  
	 @javax.validation.constraints.NotBlank(message="项目名不能为空")
	 @javax.validation.constraints.NotNull(message="项目名不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="项目名长度不能大于255")
	  private java.lang.String name;
 

	  private java.lang.Long versionId;
	  private java.lang.String versionName;
	  
	 @javax.validation.constraints.NotBlank(message="负责人不能为空")
	 @javax.validation.constraints.NotNull(message="负责人不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String pmUserName;
 
	@javax.validation.constraints.NotNull(message="负责人不能为空")
	  private java.lang.Long pmUserId;
 
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
	  //#0未开始，1进行中，2结束，3暂停中，-1删除
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="所属部门长度不能大于50")
	  private java.lang.String orgTreeCode;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="所属部门长度不能大于50")
	  private java.lang.String orgName;
	@javax.validation.constraints.NotNull(message="项目组成员数不能为空")
	  private java.lang.Integer memberCount;
	@javax.validation.constraints.NotBlank(message="项目详情不能为空")
	@javax.validation.constraints.NotNull(message="项目详情不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="项目详情长度不能大于2,147,483,647")
	  private java.lang.String detail;
 
	//<-------------------------------------------->
	public PmpProject setcloudGroupId(java.lang.Long cloudGroupId){
	 this.cloudGroupId=cloudGroupId;
	 return this;
	}
	public java.lang.Long getcloudGroupId(){
		return this.cloudGroupId;
	}
	public PmpProject setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}

	public PmpProject setPmUserName(java.lang.String pmUserName){
		this.pmUserName=pmUserName==null?null:pmUserName.trim();
	 return this;
	}
	public java.lang.String getPmUserName(){
		return this.pmUserName;
	}
	public PmpProject setPmUserId(java.lang.Long pmUserId){
	 this.pmUserId=pmUserId;
	 return this;
	}
	public java.lang.Long getPmUserId(){
		return this.pmUserId;
	}
	public PmpProject setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpProject setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpProject setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpProject setOrgTreeCode(java.lang.String orgTreeCode){
		this.orgTreeCode=orgTreeCode==null?null:orgTreeCode.trim();
	 return this;
	}
	public java.lang.String getOrgTreeCode(){
		return this.orgTreeCode;
	}
	public PmpProject setOrgName(java.lang.String orgName){
		this.orgName=orgName==null?null:orgName.trim();
	 return this;
	}
	public java.lang.String getOrgName(){
		return this.orgName;
	}
	public PmpProject setMemberCount(java.lang.Integer memberCount){
	 this.memberCount=memberCount;
	 return this;
	}
	public java.lang.Integer getMemberCount(){
		return this.memberCount;
	}
	public PmpProject setDetail(java.lang.String detail){
		this.detail=detail==null?null:detail.trim();
	 return this;
	}
	public java.lang.String getDetail(){
		return this.detail;
	}
	public java.lang.Long getVersionId() {
		return versionId;
	}
	public PmpProject setVersionId(java.lang.Long versionId) {
		this.versionId = versionId;
		 return this;
	}
	public java.lang.String getVersionName() {
		return versionName;
	}
	public PmpProject setVersionName(java.lang.String versionName) {
		this.versionName = versionName;
		 return this;
	}

}
